package com.richpay.basejava.base10;

public class Cat extends Animal {
    String name = "cat";
    int age = 20;
    static int count = 30;

    public Cat() {
        System.out.println("===Cat()===");
    }

    public Cat(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public static void show(){
        System.out.println("===Cat.show()===");
    }

    public void eat(){
        System.out.println("===猫吃===");
    }
    public void catchMouse(){
        System.out.println("===猫抓老鼠===");

    }
}
